<!DOCTYPE html>

<html height="100%">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>中国建行银行企业网上银行</title>

<link href="https://b2bstatic.ccb.com/V6/STY6/CN/css6/public.css" rel="stylesheet" type="text/css" />
<link href="https://b2bstatic.ccb.com/V6/STY6/CN/css6/welcome/welcome.css" rel="stylesheet" type="text/css" />
<link href="https://b2bstatic.ccb.com/V6/STY6/CN/css6/login_new/welcome_new.css"   rel="stylesheet" type="text/css" />
<link href="https://b2bstatic.ccb.com/V6/STY6/CN/css6/calendar-eightysix-v1.1-default.css" rel="stylesheet" type="text/css" />

    
<!-- Morris -->
<link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">

    
<!-- Morris -->
<link href="css/plugins/morris/morris-0.4.3.min.css" rel="stylesheet">
<link href="css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
<link href="css/animate.css" rel="stylesheet">
<link href="css/style.css?v=4.1.0" rel="stylesheet">
<link href="css/css.css" rel="stylesheet"  type="text/css" />
<!-- 全局js -->
<script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>

<!-- 自定义js -->
<script src="js/content.js?v=1.0.0"></script>
<script type="text/javascript" src="js/nhindex.js"></script>
  	
<!-- 全局js -->
<script src="js/jquery.min.js?v=2.1.4"></script>
<script src="js/bootstrap.min.js?v=3.3.6"></script>


<!-- Sweet alert -->
<script src="js/plugins/sweetalert/sweetalert.min.js"></script>





<script language="javascript" type="text/javascript" src="https://b2bstatic.ccb.com/V6/STY6/CN/js6/pub/jquery.js"></script>
<script language="javascript" type="text/javascript" src="https://b2bstatic.ccb.com/V6/STY6/CN/js6/login_new/new_welcome.js"></script>

<script language="javascript" type="text/javascript" src="https://b2bstatic.ccb.com/V6/STY6/CN/js6/tx/FN90011.js"></script>
<script language="javascript" src="https://b2bstatic.ccb.com/V6/STY6/CN/js7/calendar.js"></script>


<style type="text/css">
/*待办分页选中按钮*/
.welcome_list_pages1 ul li.pages_on{
	width:13px;
	height:13px;
	background:url(https://b2bstatic.ccb.com/V6/STY6/CN/images6/images/welcomelistpages1.png) 0 0 no-repeat;
}

.d_btn_center1{ cursor:pointer; background:url(https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/login_13.png); height:41px; width:180px;margin:0 auto;font:20px/1.5  '微软雅黑',Arial,Helvetica,Tahoma,sans-serif; font-weight:bold; color:#FFF; text-align:center; line-height:41px;}
#tnav .tnav_left li i.icon_arrow_up_w{
	position:absolute;
	top:48px;
	left:21px;
	display:inline-block;
	width:15px;
	height:8px;
	background:url(https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/icon_arrow_up.png) no-repeat;}
#tnav .tnav_left li a.srsw{
	width:79px;
	display:inline-block;
	height:24px;
	background:url(https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/tnav_link_srsw.png) no-repeat;
	vertical-align:text-top;
	margin-top:2px;}
.footer {
	margin:0 auto;
	background:#eeeeee;
	height:140px;
	width:1160px;
	font-size:14px;
}

</style>
<script type="text/javascript">
jQuery.support.cors=true;
var cale;	//全局日历变量
var memo_data ="";
var toTipArr = new Array(); ////提示信息数据
var curPage_Tip=1;
var curPage_db=1;

function changurl(){
	
  window.location.href="jhzz.html";
	
}

/*
        var certCheckOver = '0'; //证书逾期未缴费
        var certCheckPre = '0';  //证书即将到期
        var payCheckPre = '1';   //网银服务即将到期
        var payCheckOver = '0';  //网银服务已过期
        var caDate = '';  //证书换证提示
*/
function getCookie (name) {
	var arg = name + "=";
	var alen = arg.length;
	var clen = window.document.cookie.length;
	var i = 0;
	while (i < clen) {
		var j = i + alen;
		if (window.document.cookie.substring(i, j) == arg) 
			return getCookieVal (j);
		i = window.document.cookie.indexOf(" ", i) + 1;
		if (i == 0) break;
	}
	return null;
}

function getCookieVal (offset) {
	var endstr = window.document.cookie.indexOf (";", offset);
	if (endstr == -1) endstr = window.document.cookie.length;
	return unescape(window.document.cookie.substring(offset, endstr));
}
function setCookie (name, value) {
	window.document.cookie = name + "=" + escape (value) + "; path=/";
}

function deleteCookie (name) {
	var exp = new Date();
	exp.setTime (exp.getTime() - 1);
	var cval = getCookie (name);
	window.document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString()+";path=/";
}


//个性化Logo显示

function fnGeLogoInfo(){
	//var isOK = false;
	$.post("/NCCB/NECV6B2BMainPlat", {CCB_IBSVersion:"V6",PT_STYLE:"3",resType:"jsp",colorCSS:"",SKEY:"0Ah0Q0",CUSTOMERID:customerid,USERID:"111111",isAjaxRequest:"true",TXCODE:"N09991",previewLogoFlag:"1"}, function(data) {
		var resTxt = data.split("|");
		var resetCustStyleFlag = resTxt[0];
		var enableCustShowNameFlag = resTxt[1];
		var enableLogoFlag = resTxt[2];
		var custShowNameVal = resTxt[3];
		var custId = resTxt[4];
		var isOldLogo = resTxt[5];
		var isbmlogo = resTxt[6];
		var type = "";
		if(resetCustStyleFlag == "0") { //开启个性化设置
			if(enableLogoFlag == "1") { //开启LOGO
				$("#custLogoImg").css("display","");
				$("#custLogoImg").addClass("logoImg");
				if(isbmlogo=="1"){
					type = "s";
				}
				$("#custLogoImg").attr("src","/NCCB/NECV6IBSContentFileDownload?custId=" + custId + "&type="+ type +"&" + Math.random());  //后台上传LOGO
				if(enableCustShowNameFlag == "1") { //开启客户自定义企业名称
					$("#custShowNamePanel").addClass("logoFont");
					$("#custShowNamePanel").text(custShowNameVal);
				} else {
					$("#custLogoImg").removeClass("logoFont").removeClass("logoFont2");
					$("#custShowNamePanel").text("");
				}
				if(isOldLogo == "1"){
					setTimeout(function(){
						$("#custLogoImg").css("max-height", "45px");
						$("#custLogoImg").css("max-width", "200px");
						if($("#custLogoImg").width() > 200){
							$("#custLogoImg").width(200);
						}
						if($("#custLogoImg").height() > 45){
							$("#custLogoImg").height(45);
						}
						$("#custShowNamePanel").css("word-wrap", "break-word");
						$("#custShowNamePanel").css("font-size", "16px");
						$("#custShowNamePanel").css("margin-left", "5px");
						var panelWidth = 380 - $("#custLogoImg").width() - 20;
						$("#custShowNamePanel").css("width", panelWidth + "px");
					},100);	
				}
			} else {
				$("#custLogoImg").removeClass("logoImg");
				$("#custLogoImg").css("display","none");
				$("#custShowNamePanel").removeClass("logoFont").addClass("logoFont2");
				$("#custShowNamePanel").text(custShowNameVal);
			}
			//$("#footerFrame").attr("src","/V6/STY3/CN/GBK/frame_footer_sub.htm");
		} else {
			$("#custLogoImg").css("display","");
			$("#custLogoImg").removeClass("logoImg");
			$("#custLogoImg").attr("src","/V6/STY3/CN/GBK/images6/FN90001/logo2.png"); //恢复默认LOGO
			$("#custShowNamePanel").text("");
			$("#custLogoImg").removeClass("logoFont").removeClass("logoFont2");
			//$("#footerFrame").attr("src","/V6/STY3/CN/GBK/frame_footer.htm");
		}
		isOK = true;
	});
	if(!isOK){
		$("#custLogoImg").css("display","");
		$("#custLogoImg").removeClass("logoImg");
		$("#custLogoImg").attr("src","/V6/STY3/CN/GBK/images6/FN90001/logo2.png"); //恢复默认LOGO
		$("#custShowNamePanel").text("");
		$("#custLogoImg").removeClass("logoFont").removeClass("logoFont2");
		$("#footerFrame").attr("src","/V6/STY3/CN/GBK/frame_footer.htm");
	}
}

function fnGeLogoInfoNew(){
	var isOK = false;
	$.post("/NCCB/NECV6B2BMainPlat", {CCB_IBSVersion:"V6",PT_STYLE:"3",resType:"jsp",colorCSS:"",SKEY:"0Ah0Q0",CUSTOMERID:customerid,USERID:"111111",isAjaxRequest:"true",TXCODE:"N09991",previewLogoFlag:"1"}, function(data) {
		var resTxt = data.split("|");
		var resetCustStyleFlag = resTxt[0];
		var enableCustShowNameFlag = resTxt[1];
		var enableLogoFlag = resTxt[2];
		var custShowNameVal = resTxt[3];
		var custId = resTxt[4];
		var isOldLogo = resTxt[5];
		var isbmlogo = resTxt[6];
		var type = "";
		if(resetCustStyleFlag.trim() == '0') { //开启个性化设置
			if(enableLogoFlag.trim() == '1') { //开启LOGO
				//$("#custLogoImg").attr("src","/NCCB/NECV6IBSContentFileDownload?custId=" + custId + "&type="+ type +"&" + //Math.random());  //后台上传LOGO
				//$("#gxLogo").attr("src","/NCCB/NECV6IBSContentFileDownload?custId=" + custId + "&type="+ type +"&" + //Math.random());  //后台上传LOGO
				if(isbmlogo=="1"){
					type = "s";
				}
				document.getElementById("gxLogo").src="/NCCB/NECV6IBSContentFileDownload?custId=" + custId + "&type="+ type +"&" + Math.random();
			   if(enableCustShowNameFlag == "1") { //开启客户自定义企业名称
					
					$("#custShowNamePanel").text(custShowNameVal);
				}
			} else {
				document.getElementById("gxLogo").src='https://b2bstatic.ccb.com/V6/STY6/CN/images6/FN90001/logo2.png';
			}
			
		} else {
		    
			document.getElementById("gxLogo").src='https://b2bstatic.ccb.com/V6/STY6/CN/images6/FN90001/logo2.png';
			
			 	
			 
		}
		isOK = true;
	});
	
	if(!isOK){
			document.getElementById("gxLogo").src='https://b2bstatic.ccb.com/V6/STY6/CN/images6/FN90001/logo2.png';
			 	
	}
}

function setTipList()
{
	deleteCookie("_ccbWelcomePageTipsArr_");
	var custid1=document.getElementById("CUSTOMERID").value;
	var cookval=custid1+"|111111|0|0|0|0|1|0||"

	setCookie("_ccbWelcomePageTipsArr_",cookval);
	toTipArr.length=0;
	var i=0;

	
		
 		
		 

		 
			var str='';
			
				str='<li class="li1"><a onclick="$.windowbox.aa()">'+(i+1)+'.您的网银服务即将到期，请及时缴费</a>';
			
			
			str=str+'</li>'; 
			toTipArr[i++]=str;
		

		
		
		
	
	
	
	
	
}

function fnPageNaviTip(pageId,pageSize,objId) { //备忘分页
	$("#welcom_tip_info1 .welcome_list_pages1 .pages_on").removeClass("pages_on");
	$("#welcom_tip_info1 .welcome_list_pages1 #" + objId).addClass("pages_on");
	var totalNum = toTipArr.length;
	var pageCount = (totalNum % pageSize == 0) ? (Math.floor(totalNum / pageSize)) : (Math.floor((totalNum / pageSize)) + 1);
	var pageBeginPos = (pageId - 1) * pageSize + 1;
	var pageEndPos = (pageBeginPos + pageSize > totalNum) ? totalNum : (pageBeginPos + pageSize - 1);
	$("#welcom_tip_info1 .welcome_infolist1")[0].innerHTML = "";
	for(var m = pageBeginPos;m <= pageEndPos;m++) {
		$("#welcom_tip_info1 .welcome_infolist1")[0].innerHTML += toTipArr[m - 1]+"<br>";
	}
	if(pageId >= pageCount) {
		if(pageEndPos - pageBeginPos + 1 < pageSize) {
			var needCount = pageSize - (pageEndPos - pageBeginPos + 1);
			for(var i = 0;i < needCount;i++) {
				$("#welcom_tip_info1 .welcome_infolist1")[0].innerHTML += "<li >&nbsp;</li>";
			}
		}
	}
	/*if(totalNum==0){
				$("#welcom_tip_info1 .welcome_infolist1")[0].innerHTML = "";
					$("#welcom_tip_info1 .welcome_infolist1")[0].innerHTML +="<li class='li1' >系统当前无提示信息</li>";
				}*/
}



function showTipList()
{
	
		toTipArr.length=0;
		setTipList();
		var iCount = toTipArr.length;
		var pageSize = 5;
		
		$("#welcom_tip_info1 .welcome_list_pages1 ul")[0].innerHTML = "";
		var totalNum = iCount;
		var pageCount = (totalNum % pageSize == 0) ? (Math.floor(totalNum / pageSize)) : (Math.floor((totalNum / pageSize)) + 1);
		/*for(var k = pageCount;k > 0 ;k--) {
			$("#welcom_tip_info1 .welcome_list_pages1 ul")[0].innerHTML += "<li  onclick='fnPageNaviTip(" + k + "," + pageSize + ",\"welcome_pageBtn" + k + "\");'></li>";
		}*/
		fnPageNaviTip(1,pageSize,"welcome_pageBtn1");
		
 		$.post("/NCCB/NECV6B2BMainPlat",{CCB_IBSVersion:"V6",PT_STYLE:"3",resType:"jsp",TXCODE:"N90015",SKEY:"0Ah0Q0",CUSTOMERID:customerid,USERID:"111111",isAjaxRequest:"true"},function(data) {
 			
			var resData = data.substring(0,data.length - 1).split("|");
			if(resData.length>=10){
				var tmpTip="";
				var strYusuan=resData[0];			//预算已经超限
				var strYs_msdq=resData[1];	//马上到期的应收款
				var strYs_yjdq=resData[2];	//已经到期的应收款
				var strYs_yjgq=resData[3];	//已过期的应收款
				var strYf_msdq=resData[4];	//马上到期的应付款
				var strYf_yjdq=resData[5];	//已经到期的应付款
				var strYf_yjgq=resData[6];	//已过期的应付款
				var strDzhd_wdy=resData[7];		//未打印的电子回单
				var strDzdz=resData[8];		//开通电子对账
				var strDzyj=resData[9];		//开通电子对账
				var strDzgg=resData[10];	//公告
				var strWarn=resData[11];	//对白名单中是否注销客户进行提醒
	
				if(strDzdz>"0"){
					if(strDzdz=="2"){
						toTipArr[iCount++]="<li class=li1><a href='javascript:fnExecTx(\"1\",\"" + "1541" + "\",\"\",\"\",\"\",\"\");'>"+iCount+".您未开通电子对账，请主管点击此处开通</a></li>";
					}else{
						toTipArr[iCount++]="<li class=li1>"+iCount+".您未开通电子对账，请主管点击此处开通</li>";
					}
				}
				if(strDzyj>"0" || strDzgg>"0"){
					tmpTip="您有<b>"+strDzyj+"</b>封未阅读的邮件 <b>"+strDzgg+"</b>个公告";
					toTipArr[iCount++]="<li class=li1><a href='javascript:fnExecTx(\"1\",\"" + "0CD2" + "\",\"\",\"\",\"\",\"\");'>"+iCount+"."+tmpTip+"</a></li>";
				}
				if(strYusuan>"0"){
					tmpTip="您有<b>"+strYusuan+"</b>笔的预算已经超限";
					toTipArr[iCount++]="<li class=li1><a href='javascript:fnExecTx(\"1\",\"" + "56A2" + "\",\"\",\"\",\"\",\"\");'>"+iCount+"."+tmpTip+"</a></li>";
				}
				if(strYs_msdq>"0"){
					tmpTip="您有<b>"+strYs_msdq+"</b>笔马上到期的应收款";
					toTipArr[iCount++]="<li class=li1><a href='javascript:fnExecTx(\"1\",\"" + "5571" + "\",\"\",\"\",\"\",\"\");'>"+iCount+"."+tmpTip+"</a></li>";
				}
				if(strYs_yjdq>"0"){
					tmpTip="您有<b>"+strYs_yjdq+"</b>笔已经到期的应收款";
					toTipArr[iCount++]="<li class=li1><a href='javascript:fnExecTx(\"1\",\"" + "5572" + "\",\"\",\"\",\"\",\"\");'>"+iCount+"."+tmpTip+"</a></li>";
				}
				if(strYs_yjgq>"0"){
					tmpTip="您有<b>"+strYs_yjgq+"</b>笔已过期的应收款";
					toTipArr[iCount++]="<li class=li1><a href='javascript:fnExecTx(\"1\",\"" + "5573" + "\",\"\",\"\",\"\",\"\");'>"+iCount+"."+tmpTip+"</a></li>";
				}
				if(strYf_msdq>"0"){
					tmpTip="您有<b>"+strYf_msdq+"</b>笔马上到期的应付款";
					toTipArr[iCount++]="<li class=li1><a href='javascript:fnExecTx(\"1\",\"" + "5574" + "\",\"\",\"\",\"\",\"\");'>"+iCount+"."+tmpTip+"</a></li>";
				}
				if(strYf_yjdq>"0"){
					tmpTip="您有<b>"+strYf_yjdq+"</b>笔已经到期的应付款";
					toTipArr[iCount++]="<li class=li1><a href='javascript:fnExecTx(\"1\",\"" + "5575" + "\",\"\",\"\",\"\",\"\");'>"+iCount+"."+tmpTip+"</a></li>";
				}
				if(strYf_yjgq>"0"){
					tmpTip="您有<b>"+strYf_yjgq+"</b>笔已过期的应付款";
					toTipArr[iCount++]="<li class=li1><a href='javascript:fnExecTx(\"1\",\"" + "5576" + "\",\"\",\"\",\"\",\"\");'>"+iCount+"."+tmpTip+"</a></li>";
				}
				if(strDzhd_wdy>"0"){
					tmpTip="您有<b>"+strDzhd_wdy+"</b>笔未打印的电子回单";
					toTipArr[iCount++]="<li class=li1><a href='javascript:fnExecTx(\"1\",\"" + "0513" + "\",\"\",\"\",\"\",\"\");'>"+iCount+"."+tmpTip+"</a></li>";
				}
				if(strWarn!="N"){
					NBZWarn(strWarn);
				}
			
			}
			//$("#welcom_tip_info1 .welcome_list_pages1 ul")[0].innerHTML = "";
			var totalNum = iCount;
			var pageCount = (totalNum % pageSize == 0) ? (Math.floor(totalNum / pageSize)) : (Math.floor((totalNum / pageSize)) + 1);
			/*for(var k = pageCount;k > 0 ;k--) {
				$("#welcom_tip_info1 .welcome_list_pages1 ul")[0].innerHTML += "<li  onclick='fnPageNaviTip(" + k + "," + pageSize + ",\"welcome_pageBtn" + k + "\");'></li>";
			}*/
			fnPageNaviTip(1,pageSize,"welcome_pageBtn1");
			document.getElementById("tipid").innerHTML='<font style="color:#ffffff;font-size:14px;yuanxing">'+totalNum+'</font>';
		});	
 		

}

function fnExecTx(flag,menuId,typeId,txCode,addParam,actionType) {
	if(flag == "0") {
		var tmpEls = document.getElementById("subTodoTaskPanel").childNodes[0].childNodes;
		var strHtml = "<ul>";
		for(var i = 0;i <tmpEls.length;i++) {
			var tmpTypeId = tmpEls[i].id;
			tmpTypeId = tmpTypeId.substring(0,tmpTypeId.indexOf("_"));
			if(tmpTypeId == typeId) {
				 strHtml += "<li style='height:40px'>" + tmpEls[i].innerHTML + "</li>";
			}
		}
		strHtml += "</ul>";
		var pop = new Popup({ contentType:2,isReloadOnClose:false,width:340,height:100});
		pop.setContent("contentHtml",strHtml);
		pop.setContent("title","待办列表");
		pop.build();
		pop.show();
	} else if(flag == "1" || flag == "2") {
		//document.getElementById("TXCODE").value = "N90007";
		document.getElementById("TXCODE").value = "N90001";
		document.getElementById("FIRSTMENUID").value = menuId;
		if(txCode != null){
			document.getElementById("FIRSTTXCODE").value = txCode;
		}else{
			document.getElementById("FIRSTTXCODE").value = "";
		}
		if(addParam != null){
			document.getElementById("FIRSTADDPARAM").value = addParam;
		}else{
			document.getElementById("FIRSTADDPARAM").value = "";
		}
		if(actionType != null){
			document.getElementById("FIRSTACTIONTYPE").value = actionType;
		}else{
			document.getElementById("FIRSTACTIONTYPE").value = "";
		}
		//document.getElementById("jhform").submit();
	}
}

function NBZWarn(strWarn) {
		//var strHtml = "温馨提示：<Br>&nbsp;&nbsp;&nbsp;&nbsp;由于我行系统升级，贵客户签约的内部账户将在9月1日起终止服务，如需继续使用，请联系我行客户经理重新开立。";
		var strHtml = strWarn;
		if(strWarn==null || strWarn==""){
			return;
		}
		var pop = new Popup({ contentType:2,isReloadOnClose:false,width:380,height:100});
		pop.setContent("contentHtml",strHtml);
		pop.setContent("title","提示信息");
		pop.build();
		pop.show();
}

var toDoTaskArr = new Array(); ////待办数据

function fnPageNavi(pageId,pageSize,objId) { //待办分页
	$("#welcome_todo .welcome_list_pages1 .pages_on").removeClass("pages_on");
	$("#welcome_todo .welcome_list_pages1 #" + objId).addClass("pages_on");
	var totalNum = toDoTaskArr.length;
	var pageCount = (totalNum % pageSize == 0) ? (Math.floor(totalNum / pageSize)) : (Math.floor((totalNum / pageSize)) + 1);
	var pageBeginPos = (pageId - 1) * pageSize + 1;
	var pageEndPos = (pageBeginPos + pageSize > totalNum) ? totalNum : (pageBeginPos + pageSize - 1);
	$("#welcome_todo .welcome_business1")[0].innerHTML = "";
	for(var m = pageBeginPos;m <= pageEndPos;m++) {
		$("#welcome_todo .welcome_business1")[0].innerHTML += toDoTaskArr[m - 1];
	}
	if(pageId >= pageCount) {
		if(pageEndPos - pageBeginPos + 1 < pageSize) {
			var needCount = pageSize - (pageEndPos - pageBeginPos + 1);
			for(var i = 0;i < needCount;i++) {
				$("#welcome_todo .welcome_business1")[0].innerHTML += "<li>&nbsp;</li>";
			}
		}
	}
	/*if(totalNum==0){
				$("#welcome_todo .welcome_business1")[0].innerHTML = "";
					$("#welcome_todo .welcome_business1")[0].innerHTML +="<li class='li2' >您当前无待办业务</li>";
				}*/
}
	
var toMemoArr = new Array(); ////备忘数据

function fnPageNaviMemo(pageId,pageSize,objId) { //备忘分页
	$("#welcome_memo .welcome_list_pages1 .pages_on").removeClass("pages_on");
	$("#welcome_memo .welcome_list_pages1 #" + objId).addClass("pages_on");
	var totalNum = toMemoArr.length;
	var pageCount = (totalNum % pageSize == 0) ? (Math.floor(totalNum / pageSize)) : (Math.floor((totalNum / pageSize)) + 1);
	var pageBeginPos = (pageId - 1) * pageSize + 1;
	var pageEndPos = (pageBeginPos + pageSize > totalNum) ? totalNum : (pageBeginPos + pageSize - 1);
	$("#welcome_memo .welcome_infolist1")[0].innerHTML = "";
	for(var m = pageBeginPos;m <= pageEndPos;m++) {
		$("#welcome_memo .welcome_infolist1")[0].innerHTML += toMemoArr[m - 1];
	}
	if(pageId >= pageCount) {
		if(pageEndPos - pageBeginPos + 1 < pageSize) {
			var needCount = pageSize - (pageEndPos - pageBeginPos + 1);
			for(var i = 0;i < needCount;i++) {
				$("#welcome_memo .welcome_infolist1")[0].innerHTML += "<li>&nbsp;</li>";
			}
		}
	}
}

var inset_Day=null;

function inset2(year,month,day)
{      
		var strDate=""+year+"-"+(month>9?month:("0"+month))+"-"+(day>9?day:("0"+day));
 		$.post("/NCCB/NECV6B2BMainPlat",{CCB_IBSVersion:"V6",PT_STYLE:"6",resType:"jsp",TXCODE:"N90117",SKEY:"0Ah0Q0",CUSTOMERID:customerid,USERID:"111111",isAjaxRequest:"true",MEMO_DATE:strDate},function(data) {
			//alert("memo_data="+memo_data+" data="+data);
			data=trimLine(data);
			if(data==''){
			   return;
			}	 
			try{
				document.getElementById('bwid').innerHTML='';
				var resData = data.substring(0,data.length - 1).split("|");
				var memoDatas=memo_data.substring(0,memo_data.length - 1).split("|");
				//alert("memo_data="+memo_data+" memoDatas="+memoDatas[0]);
				var bwHtml="";
				for(var i = 0;i < resData.length;i++) {
					var tmpMemo=resData[i];
					if(tmpMemo.length==0) continue;
					bwHtml+="<li style=\"display:none;\" id=\""+memoDatas[i]+"\">"+tmpMemo+"</li>";
				}
				//alert('bwHtml='+bwHtml);
				// document.getElementById('bwid').innerHTML=bwHtml;
				  $("#bwid").html(bwHtml);
			 }catch(e){}
			  //alert('bwid='+document.getElementById('bwid').innerHTML);
			
		});
		
}
function inset3(year,month,day,memo_data)
{      
		var strDate=""+year+"-"+(month>9?month:("0"+month))+"-"+(day>9?day:("0"+day));
 		$.post("/NCCB/NECV6B2BMainPlat",{CCB_IBSVersion:"V6",PT_STYLE:"6",resType:"jsp",TXCODE:"N90117",SKEY:"0Ah0Q0",CUSTOMERID:customerid,USERID:"111111",isAjaxRequest:"true",MEMO_DATE:strDate},function(data) {
			//alert("memo_data="+memo_data+" data="+data);
			data=trimLine(data);
			if(data==''){
			   return;
			}	 
			try{
				document.getElementById('bwid').innerHTML='';
				var resData = data.substring(0,data.length - 1).split("|");
				var memoDatas=memo_data.substring(0,memo_data.length - 1).split("|");
				//alert("memo_data="+memo_data+" memoDatas="+memoDatas[0]);
				var bwHtml="";
				for(var i = 0;i < resData.length;i++) {
					var tmpMemo=resData[i];
					if(tmpMemo.length==0) continue;
					bwHtml+="<li style=\"display:none;\" id=\""+memoDatas[i]+"\">"+tmpMemo+"</li>";
				}
				//alert('bwHtml='+bwHtml);
				// document.getElementById('bwid').innerHTML=bwHtml;
				  $("#bwid").html(bwHtml);
			 }catch(e){}
			  //alert('bwid='+document.getElementById('bwid').innerHTML);
			
		});
		
}


function memoMaintain(){
	var custId = document.getElementById("CUSTOMERID").value;
	
	var strUrl="/NCCB/NECV6B2BMainPlat?CCB_IBSVersion=V6&PT_LANGUAGE=CN&PT_STYLE=3&resType=jsp&colorCSS=&TXCODE=N90118&SKEY=0Ah0Q0&CUSTOMERID="+escape(custId)+"&USERID=111111&LEVEL_N=1";
	window.open(strUrl,'_blank'); 
}

function disableButton(buttonId){
//buttonId.className="button_dis";
buttonId.disabled=true;
}

	function notconfirmtx(){
		document.jhform.FLAG.value="1"
		
					  
			  document.jhform.TXCODE.value = 'N90001';
		
		document.jhform.submit()
	}
	function checkXmy(flag1){
			if (flag1=='0'){
				document.jhform.FLAG.value="2"
			}else if (flag1=='1'){
				document.jhform.FLAG.value="3"
			}else if(flag1=='2'){
				document.jhform.FIRSTMENUID.value = '0411';
				document.jhform.ADDPARA4FIRSTTX.value="PAYTYPE=1";
				document.jhform.FLAG.value="4"
			}else if(flag1=='3'){
				document.jhform.FIRSTMENUID.value = '0411';
				document.jhform.ADDPARA4FIRSTTX.value="PAYTYPE=0";
				document.jhform.FLAG.value="5";
			}else if(flag1=='6'){
				document.jhform.FLAG.value="6";
			}else if(flag1=='7'){
			 //document.jhform.ATXCODE.value = '640101';
			 //document.jhform.TTXCODE.value = '640101';
			}else if(flag1=='8'){
				document.jhform.FIRSTMENUID.value = '0C46';
				document.jhform.FLAG.value="8";
			}
			document.jhform.TXCODE.value = 'N90001';
		
		//document.jhform.submit();
	}
 	function opennewwindow(Hei,Wid,URL,Win){
		windowprops	= "height=" + Hei + ",width="+ Wid + ",location=no,scrollbars=yes,status=no,menubars=no,toolbars=no";
		window.open(URL, Win, windowprops);
	}
	function loads(){
        
		jhform.ok.focus();
		
		
		
		
			//opennewwindow('400','500','http://www.ccb.com/cn/html1/branch/js/popup/corporate/index.html','_blank');  
		
		
		//if(screen.width>800)
		//document.all.Page_content.style.width="90%";  
	}
	
	
	var iframeFinish_cms=0;
	var iframeFinish_menu=0;

function goto(){
     


//	if(iframeFinish_menu==0){
//		alert("后端数据获取失败，请稍后再尝试...");
//		return false;
//	}else{
		
		     disableButton(jhform.ok);
//		      return true;
//}


     
     
     return true;
}

//更换证书 20090422
function changeCert(){
   window.open("https://ibsbjstar.ccb.com.cn/V5/changecert.htm","_blank");
} 
var acc = new Array();
	var count = 0;
	
function writeacc(){
  if(count<=3){
     document.writeln('<p></b></p>');
  }else{
     document.writeln('<p>'+acc[0]+'&nbsp;'+acc[1]+'&nbsp;'+acc[2]+'</b></p>');    
     if(count==4)document.writeln('<p>'+acc[3]+'</p>');
     else if(count==5)document.writeln('<p>'+acc[3]+'&nbsp;'+acc[4]+'</p>');
     
  }
}



//function changetxcode(tc){
//		document.getElementById('TXCODE').value=tc;
//		document.jhform.submit();
//		try {
//		disableButton(document.getElementById('loginBid'));
//		
//		}catch(e) {}
//}




//判断查询时间段不能超过1个月
function checkDate(StarDay,EndDay){
	var startYear = StarDay.substring(0,4);
	var startDate = StarDay.substring(4,8);
	var endYear = EndDay.substring(0,4);
	var endDate = EndDay.substring(4,8);
	var year1=endYear-startYear;
	if(year1==0){
		var date1=endDate-startDate;
		if(date1>100){
			return false;
		}else{
			return true;
		}
	}else if(year1==1){
		endDate=endDate-0+1200;
		var date1=endDate-startDate;
		if(date1>100){
			return false;
		}else{
			return true;
		}
	}else if(year1>1){
		return false;
	}
	return true;
}

function chEnWordCount(str){  
    var count = str.replace(/[^\x00-\xff]/g,"**").length;  
    return count;  
}

function add_memo()
{
  var strBeginDate=document.getElementById("BEGIN_DATE").value;
  var strEndDate=document.getElementById("END_DATE").value;
  var strContent=document.getElementById("CONTENT").value;
   var strLEVEL_N=document.getElementById("LEVEL_N").value;
  
  
  var mp=/\d{4}-\d{2}-\d{2}/;
  var mabegin=strBeginDate.match(mp);
  var maend= strEndDate.match(mp);

  if(strBeginDate==""||mabegin==null){
    alert("开始日期不符，请选择开始日期！");
    return;
  }
  if(strEndDate==""||maend==null){
    alert("结束日期不符，请选择结束日期！");
    return;
  }
 
  
  var bn=strBeginDate.split("-");
  var en=strEndDate.split("-");
  var bdt=bn[0]+bn[1]+bn[2];
  var edt=en[0]+en[1]+en[2];
  
  if(!checkDate(bdt,edt)){
			alert("查询时间段不能超过1个月！");
			return false;
	}

  var bd=new Date(bn[0],bn[1],bn[2]);
  var ed=new Date(en[0],en[1],en[2]);
  if(bd>ed){
  	alert("开始日期大于结束日期，请重新选择日期！");
  	return;
  }
  var td=new Date();
  if(ed<td){
  	alert("开始日期大于结束日期，请重新选择日期！");
  	return;
  }
  
  if(strContent==""){
    alert("备忘信息为空，请输入备忘信息！");
    return;
  }

  if(chEnWordCount(strContent)>40){
    alert("备忘信息最长不能超过20个汉字，或40位字符。当前长度为：："+chEnWordCount(strContent));
    return;
  }

  var re=/["'&|<>]|>=|<=|--/g;
  if(re.test(strContent)){
    alert("备忘信息不能包含以下特殊字符：-- ' \" < > <= >= | &");

    return;
  }else{
  	$("#btnAddMemo").disabled="disabled";
  	var yn=false;
  	 var customerid1=document.getElementById("CUSTOMERID").value;
 		$.post("/NCCB/NECV6B2BMainPlat",{CCB_IBSVersion:"V6",PT_STYLE:"6",resType:"jsp",TXCODE:"N90116",SKEY:"0Ah0Q0",CUSTOMERID:customerid1,USERID:"111111",isAjaxRequest:"true",BEGIN_DATE:strBeginDate,END_DATE:strEndDate,CONTENT:escape(strContent),LEVEL_N:escape(strLEVEL_N)},function(data) {
			

  	close1();
  	    	/*var d=new Date();
	var strd=d.getFullYear()+"-"+((d.getMonth()+1)>9?(d.getMonth()+1):("0"+(d.getMonth()+1)))+"-01";
		getCalendarDay(strd,cale);
		inset2(d.getFullYear(),((d.getMonth()+1)>9?(d.getMonth()+1):("0"+(d.getMonth()+1))),null);
		*/
		var d=new Date(); 
	var strd=d.getFullYear()+"-"+((d.getMonth()+1)>9?(d.getMonth()+1):("0"+(d.getMonth()+1)))+"-"+ (d.getDate()>9?d.getDate():("0"+d.getDate()));
	getCalendarDay1(strd,this);
	
	
	//window.location.reload();
	//window.history.go(0);
	});
	}

}


function getCalendarDay(strd,obj){
 		$.post("/NCCB/NECV6B2BMainPlat",{CCB_IBSVersion:"V6",PT_STYLE:"6",resType:"jsp",TXCODE:"N90117",SKEY:"0Ah0Q0",CUSTOMERID:customerid,USERID:"111111",isAjaxRequest:"true",MEMO_DATE:strd,FLAG:1},function(data) {
           // alert('getCalendarDay='+data+' strd='+strd);
           data=trimLine(data);
            memo_data=data;
			var webPath='https://b2bstatic.ccb.com/V6/STY6/CN/';
			calendar(webPath,memo_data); //显示月历
		});
}
function getCalendarDay1(strd,obj){
 		$.post("/NCCB/NECV6B2BMainPlat",{CCB_IBSVersion:"V6",PT_STYLE:"6",resType:"jsp",TXCODE:"N90117",SKEY:"0Ah0Q0",CUSTOMERID:customerid,USERID:"111111",isAjaxRequest:"true",MEMO_DATE:strd,FLAG:1},function(data) {
            //alert('getCalendarDay='+data+' strd='+strd);
            data=trimLine(data);
            memo_data=data;
			var webPath='https://b2bstatic.ccb.com/V6/STY6/CN/';
			calendar(webPath,memo_data); //显示月历
			var d=new Date();
		inset3(d.getFullYear(),((d.getMonth()+1)>9?(d.getMonth()+1):("0"+(d.getMonth()+1))),null,memo_data);
		});
}
 //日历table加载
 function calen(strd){
  cale = new Calendar("idCalendar", { 
	onToday: function(o){ o.className = "onToday"; /*inset(new Date().getDate(this));*/ }, 
	onFinish: function (){
			getid("idCalendarYear").innerHTML = this.Year; getid("idCalendarMonth").innerHTML = this.Month;
		} 
	}); 
	getCalendarDay(strd,cale);
	getid("idCalendarPre").onclick = function(){ cale.PreMonth(); } 
	getid("idCalendarNext").onclick = function(){ cale.NextMonth(); }
 }	
 

$(function(){
	$(document).on("click", "#u372", function () {//日期点击
        today.setMonth(today.getMonth()-1);
		//alert(today.getFullYear()+'-'+(today.getMonth()+1));
	    document.getElementById("u14").innerHTML=today.getFullYear()+'-'+(today.getMonth()+1);
		var webPath='https://b2bstatic.ccb.com/V6/STY6/CN/';
		calendar(webPath,memo_data);
    });	
});
$(function(){
	$(document).on("click", "#u371", function () {//日期点击
        today.setMonth(today.getMonth()+1);
		
	    document.getElementById("u14").innerHTML=today.getFullYear()+'-'+(today.getMonth()+1);
		var webPath='https://b2bstatic.ccb.com/V6/STY6/CN/';
	    calendar(webPath,memo_data);
    });	
});
function chgTime() {
var strBeginDate=document.getElementById("text1").value;
document.getElementById("BEGIN_DATE").value=formatdate(strBeginDate);//+" "+h+":"+m;
var strEND_DATE=document.getElementById("text4").value;
document.getElementById("END_DATE").value=formatdate(strEND_DATE);//+" "+h+":"+m;
}
function formatdate(time){
             var result="";
			  if(time.length>=8){
               var year=time.substring(0, 4);
			   var month=time.substring(4,6);
			   var date=time.substring(6, 8);
			   result=year+'-'+month+'-'+date;
			   }
             return result;
}
function iframexy(event){
        //alert("Y:"+window.event.clientY+" ==X:"+window.event.clientX);
		//alert(document.getElementById("CalFrame").style.top);
        document.getElementById("CalFrame").style.top =(window.event.clientY+15)+"px";
		document.getElementById("CalFrame").style.left=(window.event.clientX/2+30)+"px";
}


$(function(){
	$(document).on("click", "#u671", function () {//日程
			//alert('提示信息 左');
			curPage_Tip--;
			//alert('curPage_Tip='+curPage_Tip)
			if(curPage_Tip<1){return;}
				
			fnPageNaviTip(curPage_Tip,5,"welcome_pageBtn1");
    });	
});

$(function(){
	$(document).on("click", "#u672", function () {//日程
			//alert('提示信息 右');
			
			var totalNum = toTipArr.length;
			if(totalNum<=5){return;}
			curPage_Tip++;
			fnPageNaviTip(curPage_Tip,5,"welcome_pageBtn1");
    });	
});

var dbtotal=0;
$(function(){
	$(document).on("click", "#u771", function () {//日程
			//alert('待办业务 左');
			curPage_db--;
			if(curPage_db<1){return;}
			fnPageNavi(curPage_db,5,"welcome_pageBtn1");
    });	
});

$(function(){
	$(document).on("click", "#u772", function () {//日程
			//alert('待办业务 右');
			
			if(dbtotal<=5){return;}
			curPage_db++;
			fnPageNavi(curPage_db,5,"welcome_pageBtn1");
    });	
});
//详细信息tip
function  moverxx(obj){

var topNum=55+obj.offsetTop;//tip坐标
var LeftNum=150+obj.offsetLeft;//tip坐标

var u430Obj=document.getElementById('u739');
u430Obj.style.top=topNum+"px";
u430Obj.style.left=LeftNum+"px";
u430Obj.style.visibility='visible';

}
function  moutxx(){
 document.getElementById('u739').style.visibility='hidden';
}
var id;
function showsrsw(){

   document.getElementById("srswid").style.display="";
     window.clearTimeout(id);
}
function showsrswover(){
 id=window.setTimeout(showsrswover1,1000);
   
}
function showsrswover1(){

  document.getElementById("srswid").style.display="none";
  window.clearTimeout(id);
}


function goTx(menuId) {
		document.getElementById("TXCODE").value = "N90001";
		document.getElementById("FIRSTMENUID").value = menuId;
		document.getElementById("FIRSTTXCODE").value = "";
	    document.getElementById("FIRSTADDPARAM").value = "";
		document.getElementById("FIRSTACTIONTYPE").value = "";
		//document.getElementById("jhform").submit();
	
}
function fnToOnlineHelp(){
    var action_def = "/NCCB/NECV6B2BMainPlat";
	var skey='0Ah0Q0';
	var userId='111111';
	var getReqParam = '&SKEY='+escape(skey)+'&USERID='+escape(userId)+'&CUSTOMERID='+escape(customerid);
	var nWinLeft = (screen.width-660)/2;
	var nWinTop  = (screen.height-550)/2;
	window.open(action_def + '?TXCODE=N90006' + getReqParam, 'new','menubar=no,toolbar=no,location=no,directories=no,status=yes,resizable=no,scrollbars=no,width=830,height=554,top='+nWinTop+',left='+nWinLeft);
}
function fnToMall(){
	window.open("http://mall.ccb.com", "realtime", "height=550,width=800,location=yes,menubar=yes,scrollbars=yes,status=yes,menubars=yes,toolbars=yes,resizable=yes");
}
function memoMaintain(){
	var custId = customerid;
	var skey='0Ah0Q0';
	var userId='111111';
	var strUrl="/NCCB/NECV6B2BMainPlat?CCB_IBSVersion=V6&PT_LANGUAGE=CN&PT_STYLE=6&resType=jsp&colorCSS=&TXCODE=N90118&SKEY="+skey+"&CUSTOMERID="+escape(custId)+"&USERID="+userId;
	window.open(strUrl,'_blank'); 
}
var imgs;
function showCygn(){
$.post("/NCCB/NECV6B2BMainPlat",{CCB_IBSVersion:"V6",PT_STYLE:"3",resType:"jsp",colorCSS:"",TXCODE:"N90088",SKEY:"0Ah0Q0",CUSTOMERID:customerid,USERID:"111111",isAjaxRequest:"true"},function(data) {
   var  valueJson=eval('('+data+')');
   //alert(' MeuName='+valueJson.LIST1[0].MeuName+' img='+valueJson.LIST2[0].MeuImg);
  var size=valueJson.LIST1.length-1;
  var values=valueJson.LIST1;
  imgs=valueJson.LIST2;
  var webPath="https://b2bstatic.ccb.com/V6/STY6/CN/";

  if(size==1){
  	var img1='<img src="'+webPath+'images6/login_new/layout/'+imgs[0].MeuImg+'.png" id="hy_0009_hy1" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[0].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[0].MeuName+'</font>';
    document.getElementById("pic1").innerHTML=img1;
  }
  if(size==2){
  	var img1='<img src="'+webPath+'images6/login_new/layout/'+imgs[0].MeuImg+'.png" id="hy_0009_hy1" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[0].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[0].MeuName+'</font>';
    document.getElementById("pic1").innerHTML=img1;
  	var img2='<img src="'+webPath+'images6/login_new/layout/'+imgs[1].MeuImg+'.png" id="hy_0008_hy2" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[1].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[1].MeuName+'</font>';
   	document.getElementById("pic2").innerHTML=img2;
  }
  if(size==3){
  	var img1='<img src="'+webPath+'images6/login_new/layout/'+imgs[0].MeuImg+'.png" id="hy_0009_hy1" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[0].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[0].MeuName+'</font>';
    document.getElementById("pic1").innerHTML=img1;
  	var img2='<img src="'+webPath+'images6/login_new/layout/'+imgs[1].MeuImg+'.png" id="hy_0008_hy2" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[1].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[1].MeuName+'</font>';
   	document.getElementById("pic2").innerHTML=img2;
  	var img3='<img src="'+webPath+'images6/login_new/layout/'+imgs[2].MeuImg+'.png" id="hy_0007_hy3" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[2].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[2].MeuName+'</font>';
   	document.getElementById("pic3").innerHTML=img3;
  }
  if(size==4){
  	var img1='<img src="'+webPath+'images6/login_new/layout/'+imgs[0].MeuImg+'.png" id="hy_0009_hy1" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[0].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[0].MeuName+'</font>';
    document.getElementById("pic1").innerHTML=img1;
  	var img2='<img src="'+webPath+'images6/login_new/layout/'+imgs[1].MeuImg+'.png" id="hy_0008_hy2" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[1].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[1].MeuName+'</font>';
   	document.getElementById("pic2").innerHTML=img2;
  	var img3='<img src="'+webPath+'images6/login_new/layout/'+imgs[2].MeuImg+'.png" id="hy_0007_hy3" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[2].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[2].MeuName+'</font>';
   	document.getElementById("pic3").innerHTML=img3;
  	var img4='<img src="'+webPath+'images6/login_new/layout/'+imgs[3].MeuImg+'.png" id="hy_0006_hy4" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[3].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[3].MeuName+'</font>';
   	document.getElementById("pic4").innerHTML=img4;
  }
  if(size==5){
  	var img1='<img src="'+webPath+'images6/login_new/layout/'+imgs[0].MeuImg+'.png" id="hy_0009_hy1" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[0].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[0].MeuName+'</font>';
    document.getElementById("pic1").innerHTML=img1;
  	var img2='<img src="'+webPath+'images6/login_new/layout/'+imgs[1].MeuImg+'.png" id="hy_0008_hy2" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[1].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[1].MeuName+'</font>';
   	document.getElementById("pic2").innerHTML=img2;
  	var img3='<img src="'+webPath+'images6/login_new/layout/'+imgs[2].MeuImg+'.png" id="hy_0007_hy3" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[2].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[2].MeuName+'</font>';
   	document.getElementById("pic3").innerHTML=img3;
  	var img4='<img src="'+webPath+'images6/login_new/layout/'+imgs[3].MeuImg+'.png" id="hy_0006_hy4" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[3].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[3].MeuName+'</font>';
   	document.getElementById("pic4").innerHTML=img4;
  	var img5='<img src="'+webPath+'images6/login_new/layout/'+imgs[4].MeuImg+'.png" id="hy_0005_hy5" style="cursor:pointer;" onmouseover="imgchgover(this)" onmouseout="imgchgout(this)" onclick="goTx(\''+values[4].MeuId+'\')"/><br><br><font class="login_body_icon_ziti1">'+values[4].MeuName+'</font>';
    document.getElementById("pic5").innerHTML=img5;
    
    
  }
 
   
});

}

function ishowHelp(){
     $.post("/NCCB/NECV6B2BMainPlat",{CCB_IBSVersion:"V6",PT_STYLE:"3",resType:"jsp",colorCSS:"",TXCODE:"N90119",SKEY:"0Ah0Q0",CUSTOMERID:customerid,USERID:"111111",isAjaxRequest:"true"},function(data) {
     if(data=='1'){
     document.getElementById("helpId").style.display="";
     }else{
      document.getElementById("helpId").style.display="none";
     }
   });
   ishowMb();
}

//路径
function imgchgover(obj) {
var webPath='https://b2bstatic.ccb.com/V6/STY6/CN/';
var lipath=document.getElementById("msgid");
    var LeftNum=obj.offsetLeft;//tip坐标
    var top=260;
    var top1=100;
	//alert(LeftNum);
	var left=618;
    if(obj.id=="hy_0009_hy1"){
	   obj.src=webPath+"images6/login_new/layout/"+imgs[0].MeuImg+"1.png";
	   left=590;
	    left=$("#hy_0009_hy1").offset().left-80;
	      top=$("#hy_0009_hy1").offset().top+top1;
	    document.getElementById("msgid1").style.left="20px";
	  lipath.innerHTML="<font style='color:#000000;font-size:10px;'>"+imgs[0].MeuPath+"</font>";
	}

	 if(obj.id=="hy_0008_hy2"){
	   obj.src=webPath+"images6/login_new/layout/"+imgs[1].MeuImg+"1.png";
	   left=710;
	   left=$("#hy_0008_hy2").offset().left-80;
	    top=$("#hy_0008_hy2").offset().top+top1;
	   document.getElementById("msgid1").style.left="12px";
	  lipath.innerHTML="<font style='color:#000000;font-size:10px;'>"+imgs[1].MeuPath+"</font>";
	}

	 if(obj.id=="hy_0007_hy3"){
	   obj.src=webPath+"images6/login_new/layout/"+imgs[2].MeuImg+"1.png";
	   left=820;
	    left=$("#hy_0007_hy3").offset().left-80;
	   document.getElementById("msgid1").style.left="30px";
	    top=$("#hy_0007_hy3").offset().top+top1;
	  lipath.innerHTML="<font style='color:#000000;font-size:10px;'>"+imgs[2].MeuPath+"</font>";
	}

	 if(obj.id=="hy_0006_hy4"){
	   obj.src=webPath+"images6/login_new/layout/"+imgs[3].MeuImg+"1.png";
	     left=940;
	      left=$("#hy_0006_hy4").offset().left-80;
	       top=$("#hy_0006_hy4").offset().top+top1;
	   document.getElementById("msgid1").style.left="30px";
	  lipath.innerHTML="<font style='color:#000000;font-size:10px;'>"+imgs[3].MeuPath+"</font>";
	}

	 if(obj.id=="hy_0005_hy5"){
	   obj.src=webPath+"images6/login_new/layout/"+imgs[4].MeuImg+"1.png";
	     left=1050;
	      left=$("#hy_0005_hy5").offset().left-80;
	       top=$("#hy_0005_hy5").offset().top+top1;
	   document.getElementById("msgid1").style.left="20px";
	  lipath.innerHTML="<font style='color:#000000;font-size:10px;'>"+imgs[4].MeuPath+"</font>";
	}

	
	moverxx1(obj,left,top);
}
function imgchgout(obj) {
var webPath='https://b2bstatic.ccb.com/V6/STY6/CN/';
	 if(obj.id=="hy_0009_hy1"){
	   obj.src=webPath+"images6/login_new/layout/"+imgs[0].MeuImg+".png";
	}

	 if(obj.id=="hy_0008_hy2"){
	   obj.src=webPath+"images6/login_new/layout/"+imgs[1].MeuImg+".png";
	}

	 if(obj.id=="hy_0007_hy3"){
	   obj.src=webPath+"images6/login_new/layout/"+imgs[2].MeuImg+".png";
	}

	 if(obj.id=="hy_0006_hy4"){
	   obj.src=webPath+"images6/login_new/layout/"+imgs[3].MeuImg+".png";
	}

	 if(obj.id=="hy_0005_hy5"){
	   obj.src=webPath+"images6/login_new/layout/"+imgs[4].MeuImg+".png";
	}
 moutxx1();
	
}

function  moverxx1(obj,left,top){

var topNum=top;//window.event.clientY+50;//tip坐标 260 
var LeftNum=left;//window.event.clientX-50;//tip坐标

var u430Obj=document.getElementById("u749");
u430Obj.style.top=topNum+"px";
u430Obj.style.left=LeftNum+"px";
u430Obj.style.visibility='visible';

}
function  moutxx1(){
 
 document.getElementById("u749").style.visibility='hidden';
}

var pp=0;
var mengBaniShow="_mengBan_iShow_";
$(function(){
	$(document).on("click", "#m435", function () {
	
   
});
});
function mb(){
                
        	
}

function mb1(){

}
function ishowMb(){
 
} 

$(function(){
$(document).keypress(function(event){
    if(event.keyCode==13){
	      mb();
	}
})
});
function trimLine(str){   
	return str.replace(/[\n\r]/g, "");
}
//路径结束
var webPath = "https://b2bstatic.ccb.com/V6/STY6/CN/";
	</script>

</head><!--顶部导航 START loads();onLoad="showCygn()"-->
<body onLoad="showCygn();" height="100%" style="background: #FFFFFF;">
<div id="ccbPage" >
<!--顶部导航 START-->
		<div id="tnav">
		   <div class="container clearfix" id="faceInfo">
                 <ul class="fl tnav_left">
                    <li style="cursor:pointer;color:#ffffff;" id="hendnameid">企业网银<i class="icon_arrow_up_w"></i></li>
                  
                     <li >
                   
					 <span><img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/sr_icon.png" onMouseOver="showsrsw()" onMouseOut="showsrswover()"/> </span>
					 <span id="srswid" style="display:none;">
					  <img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/hv_top.png" style="width:141px;"/>
					  <span style="position:absolute;left:95px;top:-1px">
					    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					     <a  href="javascript:fnToMall();" onMouseOver="showsrsw()" onMouseOut="showsrswover()" >企业商城</a>
					  </span>
					  </span>
					 </li>
					
                   </ul>
                  <ul class="fr tnav_right">
                    <li onMouseOver="nochgli(this)">客服热线:95533</li>
                     <li style="cursor:pointer;display:none;" onclick="fnToOnlineHelp();" id='helpId'><img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/hytb_0002_hytb1.png"/>&nbsp;在线客服</li>
                  </ul>
                  
                
               </div>
		</div>
		<!--顶部导航 END-->		
<!--页头 START-->
		<div id="phd">
		<div class="container">
<div class="logo1" >
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 							
                            	
                            	
                             	<!--VispicLogoLNull=2  -->		
									<img  width="366px" height="44px;" src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/logo3.png" id="gxLogo"/>
                            
<div>  
<div class="logo2" >
 <table  width="100%" height="60px">
						<tbody>

							<tr >
								<td  colspan="3">
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									<img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/hytb_0005_hytb2.png" />
                                   &nbsp;&nbsp;&nbsp;<font style="color:#333333;font-size:16px;" id='custShowNamePanel'>李冬</font>
								</td>
							  
                                 <td align="left" colspan="2">
                              
									<img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/hytb_0001_hytb3.png" />&nbsp;&nbsp;&nbsp;
                                    <font style="color:#333333;font-size:16px;">常用功能</font> 
								</td>

							</tr>
							<tr >
								<td height="60px" width="5px">
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								
								   
								</td>
								<td width="350px"  height="60px">
									   <table  width="100%" >
									   <tbody>
							            <tr >
	                                        <td>&nbsp;&nbsp;&nbsp;&nbsp;
											   <font style="font-size:14px;">无锡快乐说教育科技有限公司</font>
                                            </td>
                                    	</tr>
										<tr>
	                                        <td>&nbsp;&nbsp;&nbsp;&nbsp;
											  <img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/hytb_0004_hytb4.png" />&nbsp;&nbsp;<font style="font-size:14px;">上次登录时间为：</font> <font style="color:#fe4a31;font-size:14px;">2017-09-12 09:26:40</font>
											 
                                            </td>
                                    	</tr>
											<tr>
										  <td>&nbsp;&nbsp;&nbsp;&nbsp;
											   <img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/hytb_0003_hytb5.png" />&nbsp;&nbsp;  <font style="font-size:14px;">这是您第</font><font style="color:#fe4a31;font-size:14px;">50</font> <font style="font-size:14px;">次登录企业网银</font>
                                            </td>
											</tr>
												<tr>
										  <td>&nbsp;&nbsp;&nbsp;&nbsp;
											 
											    <font style="font-size:14px;">本次登录的IP地址：</font> 
											  <font style="color:#fe4a31;font-size:14px;">114.223.19.65</font> 
											
                                            </td>
											</tr>
											</tbody>
                                          </table>	
								</td>
								

                                <td width="1px">
								
								 </td>


								 <td width="600px"><br>
								  <table>
										<tbody>
									
											<tr class="login_body_icon_tr1">
                                               <td align="center" class="login_body_icon_td1"><img id="hy_0009_hy1" style="cursor: pointer;"  src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/zhxxcx.png"><br><br><font class="login_body_icon_ziti1">建行活期账户</font></td>
<td style="width:25px;">  </td>
								 <td align="center" class="login_body_icon_td2" style="width: 120px;"><img id="hy_0008_hy2" style="cursor: pointer;" src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/dzdcxyhq.png"><br><br><font class="login_body_icon_ziti1">对账单查询与回签</font></td>
<td style="width:15px;">  </td>
								 <td align="center" class="login_body_icon_td3" ><img id="hy_0007_hy3" style="cursor: pointer;" src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/zzzd.png"><br><br><font class="login_body_icon_ziti1">单笔付款</font></td>
<td style="width:45px;">  </td>
								 <td align="center" class="login_body_icon_td4" id="pic4"><img id="hy_0006_hy4" style="cursor: pointer;"  src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/dfzd.png"><br><br><font class="login_body_icon_ziti1">代发制单</font></td>
<td style="width:45px;">  </td>
								 <td class="login_body_icon_td5" id="pic5" align="center" style="display: none;">
                                </td>

											</tr>
											</tbody>
                                    </table>	
									
								 </td>
								 <td  width="240px">
								 <table  width="100%" style="width:1px;height:120px;background:#c8c8c8;border-left-style:solid;border-width:1px">
								 	
								 <div class="clear">
								 <span style="left: 970px; top: 70px; position: absolute;z-index: 99999;">
				<!--<a href="jhzz.html" style="height:35px;width:160px;text-align:center;border:0;cursor:pointer;color:#FFF;margin-right:15px; display: block; position: absolute; z-index: 2000;"></a>		-->                   
				<input type="button"  value="进入操作页面"  onClick="changurl()" style="height:35px;width:160px;text-align:center;border:0;cursor:pointer;color:#FFF;margin-right:15px;font-weight:bold;background:url(https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/btn160.png) no-repeat;font-size:10px;vertical-align:middle;font:20px/1.5  '微软雅黑',Arial,Helvetica,Tahoma,sans-serif;">
            		   
			
			  </span>  
						             </div>
                                 </table>
								 </td>
							</tr>
							
						</tbody>
 </table>
</div>
</div>

</div>
</div>
</div>
		<!--主内容区 START-->
		<div id="pmain" class="clearfix">
		     <!--快速交易 START-->
				<div class="tp_setzhi">
					<img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/u4.png"/>
				</div>
			<!--侧栏 START-->
			
				<!--快速交易 STARTonmouseover="setSize(this)" onmouseout=""-->
				<div id="index_psidebar1_jsid" class="module module_sidebar module_ksjy index_psidebar1_js" data-pos="1" style="width: 300px;height: 380px;">
				    <div style="position:relative;">
					<ul class="ul1">
                     <li>
					<img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/hytb_0009_hytb6.png"/><font style="color:#109cd9;font-size:18px;">&nbsp;&nbsp;&nbsp;提示信息</font>
					&nbsp;&nbsp;&nbsp;&nbsp;
					<span style="position:relative;left:-115px;top:-16px;">
					<img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/num_u95_selected.png">
					<span style="position:absolute;left:4px;top:0px;" id="tipid">
					<font style="color:#ffffff;font-size:14px;yuanxing">0</font>
					</span>
					</span>
					
                               <span style="position:relative;left:60px;top:-1px;" id="fy1">
					              <img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/u417.png">
                                   <!-- Unnamed (图片热区) 分页点击-->
										 <div id="u671" style="cursor: pointer;">
										 </div>

										<!-- Unnamed (图片热区)  分页点击-->
										<div id="u672" style="cursor: pointer;">
										 </div>
					          </span>

					</li>
					</ul>
					</div>
					<br>
					<!--提示信息 -->
					<div style="position:absolute;" class="welcom_tip_info1" id="welcom_tip_info1">
					
                        <ul class="welcome_infolist1" ></ul>
                              <div class="welcome_list_pages1">
                              <ul></ul>
                              </div>
           
                      
					
					</div>
				</div>
				<!--快速交易 END-->
		
		
				<!--快速交易 STARTonmouseover="setSize(this)" onmouseout=""-->
				<div id="index_psidebar2_jsid" class="module module_sidebar module_ksjy index_psidebar2_js" data-pos="1"  style="width: 450px;height: 380px;">
				<div style="position:relative;height:57px">
					  <ul class="ul1">
						<li>
								<img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/hytb_0007_hytb7.png"/> <font style="color:#109cd9;font-size:18px;">
								&nbsp;&nbsp;&nbsp;待办任务</font>
                            
                             &nbsp;&nbsp;&nbsp;&nbsp;
					<span style="position:relative;left:-118px;top:-16px;">
					<img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/num_u95_selected.png">
					<span style="position:absolute;left:4px;top:0px;" id="dbid">
					<font style="color:#ffffff;font-size:14px;" >0</font>
					</span>
					</span> 
					
					
                          
						  <span style="position:relative;left:200px;top:-1px;" id="fy2">
					<img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/u417.png">
					                <!-- Unnamed (图片热区) 日历右点击-->
										 <div id="u771" style="cursor: pointer;">
										 </div>

										<!-- Unnamed (图片热区) 日历左点击-->
										<div id="u772" style="cursor: pointer;">
										 </div>     
					</span>
					</li>
				</ul>
				 </div>
				 <!--待办容器 BEGIN-->
					<div id="welcome_todo" class="welcome_will_business1" style="float:left; margin:0px 10px 0px 10px;position:relative;">
						<ul class="welcome_business1"></ul>
						<div class="welcome_list_pages1"><ul></ul></div>
					</div> 
				
				 </div>
				<!--快速交易 END-->
			
				<!--快速交易 START-->
				<div  class="module module_sidebar module_ksjy index_psidebar3_js" data-pos="1" style="width: 280px;height: 380px;">
				 <!-- Unnamed (图片) -->
				 <div  style="display:none;" id="index_psidebar3_jsid">
						<div id="u375" class="ax_tupian">
							 <img id="u375_img" class="img" src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/u375.png"/>
							 <!-- Unnamed () -->
							 <div id="u376" class="text">
								 <p><span></span></p>
							 </div>
						</div>
						 <div id="u377" class="ax_wenben">
							<img id="u377_img" class="img" src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/transparent.gif"/>
							<!-- Unnamed () -->
							<div id="u378" class="text">
							 <p><span></span><span></span></p>
						    </div>
                        </div>
				 </div>
				 
						<div id="index_psidebar4_jsid"> 
											<!-- Unnamed (图片) -->
												<div id="u9" class="ax_tupian">
												<img id="u9_img" class="img" src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/u10.png"/>
												<div  style="position:absolute;left:50px;top:25px;">
										<font style="color:#109cd9;font-size:18px;font-family:微软雅黑">
								工作日历</font>
									 </div>
												</div>

												<!-- Unnamed (图片热区) -->
												<div class="ax_u370" style="cursor: pointer;" onclick="$.windowbox.aa()" >
													<
												</div>

														<!-- Unnamed (图片) -->
														<div id="u11" class="ax_tupian" style="left:10px;">
																<img id="u11_img" class="img" src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/u11.png"/>
																
														</div>

															<!--日历 -->
															<!--日历 位置调整-->
														<div class="welcome_dates_list1" ></div>
                        
																<div class="welcome_dates_list" >
																		<ul id="datelists">
																		<script language="JavaScript" type="text/javascript">
																			var webPath='https://b2bstatic.ccb.com/V6/STY6/CN/';
																			calendar(webPath,memo_data); //显示月历
																		</script>
																		</ul>
																</div>
                       
														<div class="welcome_dates_list2" >
					                 
																<div id="u13" class="ax_tupian">
																	<img id="u13_img" class="img" src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/u13.png"/>
																		
																		<div id="u14" >
																				<script language="JavaScript" type="text/javascript">
																								var newDate = new Date();
																								document.write(' <font style="color:#000000;font-size:14px;">'+newDate.getFullYear()+'-'+(newDate.getMonth()+1)+'</font>');

																				</script>
																		</div>
																		<div id="u15" >
																						<font style="color:#ffffff;font-size:14px;" onclick="$.windowbox.aa()">添加备忘</font>
																		</div>
															</div>
											            </div>
													<!-- Unnamed (图片热区)  添加日程点击-->
														
														<div  style="cursor: pointer;">
														</div>
														

														<!-- Unnamed (图片热区) 日历右点击-->
														<div id="u371" style="cursor: pointer;">
														</div>

														<!-- Unnamed (图片热区) 日历左点击-->
														<div id="u372" style="cursor: pointer;">
														</div>
                  
							</div>
                 </div>

              
            <!--日历 end-->
                 </div>
				 
				 
				</div>
			
		


            
				
		 <!--</div>-->
		 <!--主内容区 END style="z-index: 999999;"-->
		 <div class="pmain1"  style="background: #FFFFFF;">
						<div class="div_login_btn1"  style="background: #FFFFFF;">

					    </div><br>
                     
	   </div>
	   
	 
		     <!-- 页脚 START-->
      <div class="footer">
            <div class="clear"></div>
            <div class="foot_bottom">
                <div class="footin">
                    <table class="cell" width="100%">
                        <tbody>
                        	<tr style='height:20px;'> </tr>
                            <tr>
                                <td class="ftd1" align="right">
                                    <img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/f2.png" />
                                </td>
                                <td class="ftd2">
                                    <span class="ftxt1">&nbsp;&nbsp;&copy; 版权所有中国建设银行&nbsp;&nbsp;&nbsp;京ICP备13030780号&nbsp;&nbsp;&nbsp;京公网安备：110102000450</span>
                                    <span class="ftxt2"></span>
                                    <span class="ftxt3"></span>
                                    <br />
                                    <span class="ftxt4">&nbsp;&nbsp;总行地址：中国北京西城区金融大街25号&nbsp;&nbsp;&nbsp;邮编：100033</span>
                                    <span class="ftxt2"></span>
                                 
                                </td>
                                <td class="ftd3" align="right" style='width:400px;height:106px;'>
                                   <div style='width:86px;height:106px;text-align:center;margin-left:50px;float:left;background-color:#fff'><img style="margin:0px 0px 0px 0px;"  src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/footer_ewm_wxyh.png" /><span style='color:#a2a2a2;font-weight:bold'> 企业手机银行</span></div>

								<div style='width:86px;height:106px;text-align:center;margin-left:30px;float:left;background-color:#fff'><img style="margin:0px 25px 0px 3px;"  src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/footer_ewm_sjyh.png" /><span style='color:#a2a2a2;font-weight:bold'>企业手机银行</span></div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
        <!-- 页脚 END-->
  <form id="jhform" name="jhform" method="post" action="" onSubmit="return goto();">

        
							
							 
							<input TYPE="hidden" NAME="TXCODE" ID="TXCODE" VALUE="N90001">  
							
	 	<input TYPE="hidden" NAME="SKEY" ID="SKEY" VALUE="0Ah0Q0">
		<input TYPE="hidden" NAME="CUSTOMERID" ID="CUSTOMERID" VALUE="JS32000009186746101">
		<input TYPE="hidden" NAME="USERID" ID="USERID" VALUE="111111">
		<input TYPE="hidden" NAME="FLAG" ID="FLAG" VALUE="">
		<input TYPE="hidden" NAME="ADDPARA4FIRSTTX" ID="ADDPARA4FIRSTTX" VALUE="">

		<input type="hidden" NAME="CCB_IBSVersion" ID="CCB_IBSVersion" value="V6">
		<input type="hidden" NAME="PT_STYLE" ID="PT_STYLE" value="6">
		<input type="hidden" NAME="PT_LANGUAGE" ID="PT_LANGUAGE" value="CN">
		<input type="hidden" NAME="resType" ID="resType" value="jsp">
		<input TYPE="hidden" NAME="CUSTNAME" ID="CUSTNAME" VALUE="无锡快乐说教育科技有限公司">
		<input TYPE="hidden" NAME="LOGINNUM" ID="LOGINNUM" VALUE="50">
		<input TYPE="hidden" NAME="LOGINTIME" ID="LOGINTIME" VALUE="2017-09-12 09:26:40">
		<input TYPE="hidden" NAME="LOGINIP" ID="LOGINIP" VALUE="114.223.19.65">
		<input TYPE="hidden" NAME="CMS_CUSTID" ID="CMS_CUSTID" VALUE=''>
		<input TYPE="hidden" NAME="CMS_OPERID" ID="CMS_OPERID" VALUE=''>
		<input TYPE="hidden" NAME="CMS_MENURIGHT" ID="CMS_MENURIGHT" VALUE=''>
		
		
		<input TYPE="hidden" NAME="FIRSTMENUID" ID="FIRSTMENUID" VALUE="">
			
				
				
				
			<input TYPE="hidden" NAME="ATXCODE" ID="ATXCODE" VALUE="">
	    <input TYPE="hidden" NAME="FIRSTTXCODE" ID="FIRSTTXCODE" VALUE="">
	    <input TYPE="hidden" NAME="FIRSTADDPARAM" ID="FIRSTADDPARAM" VALUE="">
		<input TYPE="hidden" NAME="FIRSTACTIONTYPE" ID="FIRSTACTIONTYPE" VALUE="">
		<input TYPE="hidden" NAME="OTHERADDPARAM" ID="OTHERADDPARAM" VALUE="">
		<input type="hidden" id="TXFLAG" name="TXFLAG" value=''>
		<input TYPE="hidden" NAME="ACTIFLAG" ID="ACTIFLAG" VALUE="">
		<input TYPE="hidden" NAME="ACTICUSTID" ID="ACTICUSTID" VALUE="">
		<input TYPE="hidden" NAME="ACTIOPERID" ID="ACTIOPERID" VALUE="">
			
	    <input TYPE="hidden" NAME="TTXCODE" ID="TTXCODE" VALUE="">
	    <input TYPE="hidden" NAME="ADDPARAMS" ID="ADDPARAMS" VALUE="">
			
			<input type="hidden" id="TXFLAG" name="TXFLAG" value=''>
 
		

		
 </form>
         
       <!-- dingzhi (动态面板) -->
					 <div id="u432" class="ax_dtmb" data-label="dingzhi"   style="position:absolute;visibility: hidden;z-index:99999;
					 display:block;border:solid 1px #0EA9BF;background-color:pink;" >
					
						 <div id="u432_state0" class="panel_state" data-label="shezhi" style="z-index: 99999">
                                     <div id="u432_state0_content" >
                                              <!-- Unnamed (图片) -->
												<div id="u433" class="ax_tupian">
													 <img id="u433_img" class="img" src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/u433.png"/>
													<!-- Unnamed () -->
												 <div id="u434" class="text">
													 <p><span></span></p>
												 </div>
											    </div>
												  <!-- Unnamed (图片热区) -->
										 <div id="u435" class="ax_tprq" style="cursor: pointer;" >
										 </div>

									<!-- Unnamed (图片热区) -->
											<div id="u436" class="ax_tprq" style="cursor: pointer;" >
											</div>

									<!-- Unnamed (图片热区) -->
											<div id="u437" class="ax_tprq" style="cursor: pointer;" >
											 </div>
                                    </div>




									 <!-- gou (图片) -->
										 <div id="u438" class="ax_tupian" data-label="gou">
													<img id="u438_img" class="img" src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/gou_u438.png"/>
													<!-- Unnamed () -->
													<div id="u439" class="text">
														<p><span></span></p>
													</div>
										</div>

										 <!-- rilifx1 (复选框) -->
												<div id="u442" class="ax_fxk" data-label="rilifx1">
														<label for="u442_input">
																 <!-- Unnamed () -->
															 <div id="u443" class="text">
																	<p><span></span></p>
															</div>
														</label>
														<input id="u442_input"  onclick="setGou(this)" type="checkbox" value="checkbox" checked />
												</div>

									

						 </div>
						  <div  style="left: 0px; top: 0px; width: 100%; height: 100%; position: fixed; z-index: 1009; 
            				background-color: #000000;opacity:0.298039" id="tmtid1"> </div>
					 </div>
 <!-- dingzhi (动态面板)end -->


<!-- 日程 (动态面板) -->
					 <div id="u441" class="ax_dtmb" data-label="richeng"   style="position:absolute;visibility: hidden;
					 display:block;border:solid 1px #0EA9BF;background-color:pink;left:20px; top:-30px;z-index: 99999" >
					
						 <div id="u441_state0" class="panel_state" data-label="richengshezhi" style="z-index: 99999">
                                     <div id="#u441_state0_content"  style="margin:0 auto;">
                                              <!-- Unnamed (图片) -->
												<div id="u440" class="ax_tupian" style="margin:0 auto;left:-120px;">
												<div   style="margin:0 auto;background:#ffffff;width:522px;height:352px">
												<span style='position:relative;'> <img src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/ht.png">
												<span style='position:absolute;left:6px;top:0px'><font style='color:#ffffff;'>
												添加备忘
												</font>
												</span>
                                               <span style='position:absolute;left:480px;top:-3px;cursor: pointer;' id="gb1" ><font class="login_body_icon_ziti5">
												&nbsp;-&nbsp;
												</font>
												</span>
												 <span style='position:absolute;left:500px;top:-3px;cursor: pointer;' id="gb2"><font class="login_body_icon_ziti5">
												&nbsp;x&nbsp;
												</font>
												</span>
												</span>
													   <table  style="background:#ffffff;width:500px;height:160px">
						                                       <tbody>
						                                      <tr><td style="height: 10px"></td> </tr>
													  <tr> 
															 <td align="right" style="font-size:14px;font-family:微软雅黑;">开始日期：</td>
															 <td align="left">
															 <input class="inTxt" style="width: 180px; height:27px;font-size:14px;"  type="text" name="text1" id="text1" />
															 <a class="dateBtn1" href="javascript:ShowCalendar('img', 'text1', null, '8/1/1999', '1/22/2039');onloadiframexy('1');" ><img id="img" class="dateImg" 
															 src="https://b2bstatic.ccb.com/V6/STY6/CN/images7/date.png"></a>

															 	<input TYPE="hidden" NAME="BEGIN_DATE" ID="BEGIN_DATE" VALUE="">
															 	<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
															 </td>
															 
															  
															 
														</tr>
														  <tr> 
													      <td align="right" style="font-size:14px;font-family:微软雅黑;">结束日期：</td>
															 <td align="left">
															 	<input class="inTxt" style="width: 180px; height: 27px;font-size:14px;"   type="text" name="text4" id="text4"/>
															  <a class="dateBtn1" href="javascript:ShowCalendar('img1', 'text4', null, '8/1/1999', '1/22/2039');onloadiframexy('2');" ><img id="img1" class="dateImg" 
															 src="https://b2bstatic.ccb.com/V6/STY6/CN/images7/date.png"></a>
															 <input TYPE="hidden" NAME="END_DATE" ID="END_DATE" VALUE="">
															  <!--<br><font style="font-size:14px;"> （备忘时间区间为30天以内）</font>  -->
															 	 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
															 </td>
													      
													      </tr>
													      <tr> 
													       <td align="right" style="font-size:14px;font-family:微软雅黑;">重复：</td>
															 <td align="left">
															 <select name="LEVEL_N" id="LEVEL_N" class="select slSty1" >
															 <option value="">不重复</option>
															 <option value="0">每天</option>
															  <option value="1">每周</option>
															  <option value="2">每月</option>
															 </select>
															 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
															 </td>
													      
													      </tr>
                                                             <tr> 
															 <td align="right" style="font-size:14px;font-family:微软雅黑;">备注：</td>
															 <td align="left"><textarea  class="inTxtArea" style="width: 330px; height: 110px" name="CONTENT" id="CONTENT"></textarea>
															   <!--inTxt1<br><font style="font-size:14px;">（备忘内容最长20个汉字）</font>   -->
															 </td>
															
															 </tr>
															
													
													    <tr style="text-align:center;" >
                                                        
                                                         <td align="right" style="width: 150px;">

														
														</td>
														
														 <td align="left" ><br>
														 <input type="button" class="btn1" name="Submit41" value="提 交" style='height:35px;width:100px;text-align:center;border:0;cursor:pointer;color:#FFF;margin-right:15px;font-weight:bold;background:url(https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/btn100.png) no-repeat;font-size:14px;vertical-align:middle;' onclick="chgTime();add_memo();">

														 <input type="button" class="btn1" name="Submit44" value="关 闭" onclick="close1()" style='height:35px;width:100px;text-align:center;border:0;cursor:pointer;color:#FFF;margin-right:15px;font-weight:bold;background:url(https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/btn100.png) no-repeat;font-size:14px;vertical-align:middle;'>
														</td>

														</tr>
                                             <iframe id="CalFrame" style="display:none; z-index:99999; left:0px;top:0px; width:148px; position:absolute; height:194px;" src="../blank.html" frameBorder=0 scrolling=no></iframe>
															  </tbody>

                                                        
													    </table>
										 
                                               </div>
											    </div>
												  
                                    </div>
						 </div>
						   <div  style="left: 0px; top: 0px; width: 100%; height: 100%; position: fixed; z-index: 1009; opacity: 0.298039; background-color: rgb(0, 0, 0); " id="tmtid"> </div>
						   
					 </div>
 <!-- 日程 (动态面板)end -->


<!-- 详细信息提示 (图片) -->
      <div id="u749" class="ax_tupian" data-label="beiwang" style="z-index: 99999;position:absolute;visibility: hidden;top:1px;" >
        <img id="u749_img" class="img" src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/tip.png"/>
        <div  style="z-index: 99999;position:absolute;left:20px;top:5px;" id="msgid1">
         <ul style="text-align:left;"><br>
		 <li id="msgid"></li>
		 </ul>
        </div>
      </div>
 <div id="subTodoTaskPanel"></div>
<script>
      var customerid=document.getElementById("CUSTOMERID").value;
	$(document).ready(function() { //加载待办
	     //alert('aaaa=ready');
		 //showTipList();
		//$.post("/NCCB/NECV6B2BMainPlat",{CCB_IBSVersion:"V6",PT_STYLE:"3",resType:"jsp",colorCSS:"",TXCODE:"N90019",SKEY:"0Ah0Q0",CUSTOMERID:customerid,USERID:"111111",isAjaxRequest:"true"},function(data) {});
		
		//$.post("/NCCB/NECV6B2BMainPlat",{CCB_IBSVersion:"V6",PT_STYLE:"3",resType:"jsp",colorCSS:"",TXCODE:"N90008",BRAN_PARAM_UPDATE_TMS:"20150215131520577",SKEY:"0Ah0Q0",CUSTOMERID:customerid,USERID:"111111",isAjaxRequest:"true"},function(data) {});
		
		//$.post("/NCCB/NECV6B2BMainPlat",{CCB_IBSVersion:"V6",PT_STYLE:"3",resType:"jsp",colorCSS:"",TXCODE:"6H5501",SKEY:"0Ah0Q0",CUSTOMERID:customerid,USERID:"111111",isAjaxRequest:"true"},function(data) {});
		//$.post("/NCCB/NECV6B2BMainPlat",{CCB_IBSVersion:"V6",PT_STYLE:"3",resType:"jsp",TXCODE:"N09994",SKEY:"0Ah0Q0",CUSTOMERID:customerid,USERID:"111111",PT_LANGUAGE:"CN",isAjaxRequest:"true",forwardFlag:"1",Tpl_VNo:""},function(data) {
			var iCount = 0;
			var pageSize = 5;
			var arrOldTodoTask = new Array();
			var arrNewTodoTaskType = new Array();
			var arrNewTodoTaskFunc = new Array();
			if(data != "" && typeof(data) != "undefined") {
				if(data.indexOf("!=!") != -1) {
					dataSegArr = data.split("!=!");
					if(dataSegArr[0] != "" && dataSegArr[0].indexOf("@") != -1) {
						dataSegArr[0] = dataSegArr[0].substring(0,dataSegArr[0].length - 1);
						arrOldTodoTask = dataSegArr[0].split("@");
					}
					if(dataSegArr[1] != "" && dataSegArr[1].indexOf("@") != -1) {
						dataSegArr[1] = dataSegArr[1].substring(0,dataSegArr[1].length - 1);
						arrNewTodoTaskType = dataSegArr[1].split("@");
					}
					if(dataSegArr[2] != "" && dataSegArr[2].indexOf("@") != -1) {
						dataSegArr[2] = dataSegArr[2].substring(0,dataSegArr[2].length - 1);
						arrNewTodoTaskFunc = dataSegArr[2].split("@");
					}
				}
				if(arrNewTodoTaskType.length > 0) { //网间待办类型
					for(var i = 0;i < arrNewTodoTaskType.length;i++) {
							var tmpArrNewTodoTaskTypeItem = arrNewTodoTaskType[i].split(",");
							var tmpToDoTaskTypeId = tmpArrNewTodoTaskTypeItem[0]; //待办类型ID
							var tmpToDoTaskTypeName = tmpArrNewTodoTaskTypeItem[1]; //待办类型名称
							var tmpToDoTaskNum = tmpArrNewTodoTaskTypeItem[2]; //待办总条目数
							toDoTaskArr[iCount] = "<li class='li2'><a href='javascript:fnExecTx(\"0\",\"\",\"" + tmpToDoTaskTypeId + "\",\"\",\"\",\"\");'>" + (iCount + 1) + ".您有<span style='font-weight:bold;color:#F00;'>" + tmpToDoTaskNum + "</span>&nbsp;笔" + tmpToDoTaskTypeName + "待处理；</a></li>";
							iCount++;
					}
				}
				var tmpConStr = "";
				if(arrNewTodoTaskFunc.length > 0) { //网间待办功能点
					tmpConStr = "<ul>";
					for(var i = 0;i < arrNewTodoTaskFunc.length;i++) {
						var tmpArrNewTodoTaskFuncItem = arrNewTodoTaskFunc[i].split(",");
						var tmpToDoTaskTypeId = tmpArrNewTodoTaskFuncItem[0]; //待办类型ID
						var tmpToDoTaskName = tmpArrNewTodoTaskFuncItem[1]; //待办名称
						var tmpToDoTaskNum = tmpArrNewTodoTaskFuncItem[2]; //待办条目数
						var tmpToDoTaskTxcode = tmpArrNewTodoTaskFuncItem[3]; //待办交易码
						var tmpToDoTaskId = tmpArrNewTodoTaskFuncItem[4]; //待办项目ID
						var tmpToDoTaskMenuId = tmpArrNewTodoTaskFuncItem[5]; //待办菜单ID
						var tmpToDoTaskParam = tmpArrNewTodoTaskFuncItem[6]; //参数
						tmpToDoTaskParam = tmpToDoTaskParam.replace(/A3A/g,",");
						tmpConStr += "<li class='li2' id='" + tmpToDoTaskTypeId + "_" + tmpToDoTaskId + "'><a href='javascript:fnExecTx(\"1\",\"" + tmpToDoTaskMenuId + "\",\"\",\""+ tmpToDoTaskTxcode +"\",\""+ tmpToDoTaskParam +"\",\"15\");'>您有<span style='font-weight:bold;color:#F00;'>" + tmpToDoTaskNum + "</span>&nbsp;笔" + tmpToDoTaskName + "待处理</a></li>";
					}
					tmpConStr += "</ul>";
					document.getElementById("subTodoTaskPanel").innerHTML = tmpConStr;
					document.getElementById("subTodoTaskPanel").style.display = "none";
				}
				if(arrOldTodoTask.length > 0) { //封装交易待办
					for(var i = 0;i < arrOldTodoTask.length;i++) {
						var tmpArrOldTodoTaskItem = arrOldTodoTask[i].split(",");
						var tmpTodoTaskNum = tmpArrOldTodoTaskItem[0]; //待办数目
						var tmpTodoTaskTxcode = tmpArrOldTodoTaskItem[1]; //待办交易码
						var tmpTodoTaskMenuId = tmpArrOldTodoTaskItem[2]; //待办菜单ID
						var tmpTodoTaskName = tmpArrOldTodoTaskItem[3]; //待办名称
						var tmpTodoTaskAddParam = tmpArrOldTodoTaskItem[5]; //附加参数
						if(tmpTodoTaskNum > 0) {
							if(tmpTodoTaskTxcode=="6A1000"){
								toDoTaskArr[iCount] = "<li class='li2'><a href='javascript:fnExecTx(\"2\",\"" + tmpTodoTaskMenuId + "\",\"\",\""+tmpTodoTaskTxcode + "\",\""+ tmpTodoTaskAddParam +"\",\"\");'>" + (iCount + 1) + ".<span style='font-weight:bold;color:#E60004;'>您有" + tmpTodoTaskNum + "&nbsp;笔" + tmpTodoTaskName + "待处理；</span></a></li>";
								iCount++;
							}else if(tmpTodoTaskTxcode=="NA1000" || tmpTodoTaskTxcode=="NA1001"){
								toDoTaskArr[iCount] = "<li class='li2'><a href='javascript:fnExecTx(\"2\",\"" + tmpTodoTaskMenuId + "\",\"\",\""+tmpTodoTaskTxcode + "\",\""+ tmpTodoTaskAddParam +"\",\"15\");'>" + (iCount + 1) + ".您有<span style='font-weight:bold;color:#F00;'>" + tmpTodoTaskNum + "</span>&nbsp;笔" + tmpTodoTaskName + "待处理；</a></li>";
								iCount++;
							}else {
								toDoTaskArr[iCount] = "<li class='li2'><a href='javascript:fnExecTx(\"2\",\"" + tmpTodoTaskMenuId + "\",\"\",\""+tmpTodoTaskTxcode + "\",\""+ tmpTodoTaskAddParam +"\",\"\");'>" + (iCount + 1) + ".您有<span style='font-weight:bold;color:#F00;'>" + tmpTodoTaskNum + "</span>&nbsp;笔" + tmpTodoTaskName + "待处理；</a></li>";
								iCount++;
							}
						}
					}
				}
				$("#welcome_todo .welcome_list_pages1 ul")[0].innerHTML = "";
				var totalNum = iCount;
				dbtotal=iCount;
				var pageCount = (totalNum % pageSize == 0) ? (Math.floor(totalNum / pageSize)) : (Math.floor((totalNum / pageSize)) + 1);
				
				
				document.getElementById("dbid").innerHTML='<font style="color:#ffffff;font-size:14px;yuanxing">'+totalNum+'</font>';
				
				fnPageNavi(1,pageSize,"welcome_pageBtn1");
			}
		});
		
 	var d=new Date(); 
	var strd=d.getFullYear()+"-"+((d.getMonth()+1)>9?(d.getMonth()+1):("0"+(d.getMonth()+1)))+"-"+ (d.getDate()>9?d.getDate():("0"+d.getDate()));
	getCalendarDay(strd,this);
	inset2(d.getFullYear(),d.getMonth()+1,d.getDate());
 
//开启logo个性化
  //fnGeLogoInfo();
 
  fnGeLogoInfoNew();
 
  ishowHelp();  
});
chgpx();
$(document).ready(function(){
	
	//opennewwindow('400','500','http://www.ccb.com/cn/html1/branch/js/popup/corporate/index.html','_blank');  
	
});
</script>
  
 <!-- 日历提示 (图片) -->
      <div id="u430" class="ax_tupian" data-label="beiwang" style="z-index: 99999;position:absolute;visibility: hidden;" onmouseover='mover1()' onmouseout='mout()'>
        <img id="u430_img" class="img" src="https://b2bstatic.ccb.com/V6/STY6/CN/images6/login_new/layout/beiwang_u430.png"/>
       
        <div  style="z-index: 99999;position:absolute;left:20px;">
         <ul style="text-align:left;"><br>
		 <li><font style="color:#ffffff;">备忘信息</font></li>
		 <span id="bwid"><li></li><span>
		 </ul>
        </div>
        
		<div  style="z-index: 99999;position:absolute;left:200px;top:120px">
         <ul>
		 <li><a href="javascript:memoMaintain()"><font style="color:#109cd9;">维护备忘</font></a></li>
		 </ul>
        </div>
      </div>
      
     
  </body>    
  <script src="js/nhindex.js" type="application/javascript"></script>
</html>


